import { baseRequest } from "@/utils/request";

const request = (url, ...arg) => baseRequest(`/api/productionProcessRoute/${url}`, ...arg)

export default {
    //新增产品工艺路线
    addProcessRoute(data) {
        return request('InsertProductionProcessRouteAsync', data)
    },
    //绑定产品工艺路线
    bindProcessRoute(data) {
        return request('QueryProductionProcessRouteAsync', data, 'get')
    }
}